package com.hgkj.cloud.base.dao;

import com.hgkj.cloud.base.domain.TenantOrderRecord;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface TenantOrderRecordMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TenantOrderRecord record);

    int insertSelective(TenantOrderRecord record);

    TenantOrderRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TenantOrderRecord record);

    int updateByPrimaryKey(TenantOrderRecord record);

    TenantOrderRecord getOrderRecord(Map<String, Object> map);

    List<TenantOrderRecord> listOrderRecordByCode(Map<String, Object> map);

    long listOrderRecordByCodeCount(Map<String, Object> map);

    List<Map<String, Object>> listOrderRecordsAnalyze(Map<String, Object> map);

    List<TenantOrderRecord> listAllOrderRecords(Map<String, Object> map);

    long listAllOrderRecordsPageCount(Map<String, Object> map);

    List<Map<String, Object>> getUserRecord(Map<String, Object> map);

    Long getUserRecordCount(Map<String, Object> map);
}